package com.daoserver;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.stream.annotation.EnableBinding;

import com.daoserver.mq.OutPutBarista;

/**
 * 发送消息
 * 
 * @author super
 *
 */
//@EnableBinding({InPutBarista.class, OutPutBarista.class})//message
@EnableDiscoveryClient
@EnableBinding({ OutPutBarista.class }) // 绑定mq接口
@SpringBootApplication
public class OutPutServiceApplication {

	public static void main(String[] args) {
		new SpringApplicationBuilder(OutPutServiceApplication.class).web(true).run(args);
	}

}
